<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require ("db_conn.php");

//包含连接文件

$sql="select * from t5_khfw where id=1";//isshow=1 取n个

$khrs=$db->query($sql);//执行语句 $rs是一个结果集
$khrows=$khrs->fetch_all(MYSQLI_BOTH);//包括所有行






require 'marketing_html.php';
   //释放结果集

 $khrs->free(); 

   //关闭数据库

   $db->close();